<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script src="./index.js"></script>
<script>
    //最近实践 当我们调用async函数后 如果async函数后续还有逻辑 一定要重新拿一个async函数进行包裹
    //原async函数一定要await住!!!!!

    fn()
    async function fn() {
        await  test();
        console.log(3)
    }



</script>
</html>